package com.food.admin.form;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("修改管理员账号状态参数对象")
public class AccountUpdateStateForm {
    @NotNull
    @Min(1)
    private Integer accountId;
    @Min(value = 0)
    @Max(value = 2)
    private Integer accountState;
}
